<template>
	<view class="f-f-c p20">
		<u-navbar
		:autoBack="true" bgColor="#fff"
		leftIconColor='#000'
		:titleStyle="{ color: '#000'}"
		 title="提现 方式" rightText='' :border="false" :placeholder="true">
		</u-navbar>
		<view class="">
			
			<view class="m20 p20 b-s b-rd f-f-c p-s">
				<view class="f-s-b b-b pb20 f28" @click="payType = 1">
					<span  class="f1 f" >
						<!-- <image class="mr10" style="width: 60rpx;" src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/zfb.png" mode="widthFix"></image> -->
						手机号
                    </span>
					<image v-if="payType == 1" style="width: 48rpx;" 
					src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/selectb.png" mode="widthFix"></image>
					<image v-else style="width: 48rpx;"
					src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/select.png" mode="widthFix"></image>
				</view>
				<view class="f-s-b pt20 b-b pb20 f28"  @click="payType = 2">
					<span  class="f1 f" >
						<image class="mr10" style="width: 60rpx;" src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/wx.png" mode="widthFix"></image>
						微信
					</span>
					<image v-if="payType == 2" style="width: 48rpx;"
					src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/selectb.png" mode="widthFix"></image>
					<image v-else style="width: 48rpx;"
					src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/select.png" mode="widthFix"></image>
				</view>
				<view class="f-s-b pt20   f28" @click="payType = 3">
					<span  class="f1 f" >
						<image class="mr10" style="width: 60rpx;" src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/card.png" mode="widthFix"></image>
						银行卡
					</span>
					<image v-if="payType == 3" style="width: 48rpx;"
					src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/selectb.png" mode="widthFix"></image>
					<image v-else style="width: 48rpx;"
					src="https://chaoyuanhuishou.oss-cn-beijing.aliyuncs.com/select.png" mode="widthFix"></image>
				</view>
				
				
					
				</view>
			</view>
			
			<view class="sureBtn" @click="toDraw">
				提现
			</view>
			
		</view>
	
		
	</view>
</template>


<script>
	 export default {
		data() {
			return {
				list1:[ ],
				high:0,
				show:false,
				value:null,
				value2:2,
				type:null,
				myname:'',
				account:'',
				upimgUrl:[],
				payType:1,
			}
		},
		onReachBottom() {
			
		},
		onReady() {
			
		},
		onLoad(){
			
		},
		onShow() {
			if(uni.getStorageSync('payType')){
				this.payType = uni.getStorageSync('payType')
			}
			// uni.setStorageSync('userInfo', res.data)
		},
		methods: {
			toDraw(){
				uni.setStorageSync('payType', this.payType)
				uni.navigateBack({delta:1})
			},
		}
	}
</script>

<style lang='scss'>
	page,
	.content {
		min-height: 50%;
		background-color: #f8f8f8;
	}

	.btn{
		width: 100%;
		height: 68rpx;
		background: #1AC388;
		border-radius: 34rpx 34rpx 34rpx 34rpx;
		opacity: 1;
		border: 2rpx solid var(--theme);
		text-align: center;
		line-height: 68rpx;
		color:#fff;
	}
	.btn2{
		width: 100%;
		height: 68rpx;
		background: rgba(26,195,136,0);
		border-radius: 34rpx 34rpx 34rpx 34rpx;
		opacity: 1;
		border: 2rpx solid var(--theme);
		text-align: center;
		line-height: 68rpx;
		color: var(--theme);
	}
	.placeholderClass{
		text-align: right;
	}

	
</style>
